package com.poker.monitor.model;

import java.util.List;

public class Player {
    private int position;  // 玩家位置（1-8）
    private String name;   // 玩家名称
    private double chips;  // 筹码数量
    private List<PokerCard> handCards;  // 手牌
    private boolean isActive;  // 是否在当前牌局中活跃

    public Player(int position) {
        this.position = position;
        this.isActive = false;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getChips() {
        return chips;
    }

    public void setChips(double chips) {
        this.chips = chips;
    }

    public List<PokerCard> getHandCards() {
        return handCards;
    }

    public void setHandCards(List<PokerCard> handCards) {
        this.handCards = handCards;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }
}